package com.atguigu.tingshu.common.constant;

public class RabbitConstant {

    public static final String USER_EXCHANGE = "user.exchange";
    public static final String USER_REGISTER_RK = "user.register";
    public static final String USER_REGISTER_QUEUE = "user.register.queue";
    public static final String TRACK_STAT_RK = "track.stat";
    public static final String TRACK_STAT_QUEUE = "track.stat.queue";

    public static final String ALBUM_EXCHANGE = "album.exchange";
    public static final String ALBUM_SAVE_RK = "album.save";

//    public static final String ALBUM_UPDATE_RK= "album.update";
    public static final String ALBUM_UPDATE_QUEUE = "album.update.queue";
    public static final String ALBUM_DELETE_RK = "album.delete";
    public static final String ALBUM_SAVE_QUEUE = "album.save.queue";
    // 上下架专辑
    public static final String ALBUM_UPPER_RK = "album.upper";
    public static final String ALBUM_DOWN_RK = "album.down";
    public static final String ALBUM_UPPER_QUEUE = "album.upper.queue";
    public static final String ALBUM_DOWN_QUEUE = "album.down.queue";

    public static final String MXW_EXCHANGE = "mxw.exchange";
    public static final String MXW_RK = "mxw.test";
    public static final String MXW_QUEUE = "mxw.queue";

    // 延时关单 延时队列的时间 分钟
    public static final int ORDER_CANCEL_TIME = 15*60*1000;
    public static final String ORDER_EXCHANGE = "order.exchange";
    public static final String ORDER_TTL_RK = "order.ttl";
    public static final String ORDER_DEAD_RK = "order.dead";
    public static final String ORDER_PAID_RK = "order.paid";
    public static final String ORDER_TTL_QUEUE = "order.ttl.queue";
    public static final String ORDER_DEAD_QUEUE = "order.dead.queue";
    public static final String ORDER_PAID_QUEUE = "order.PAID.queue";

    public static final String ACCOUNT_MINUS_RK = "account.minus";
    public static final String ACCOUNT_UNLOCK_RK = "account.unlock";
    public static final String ACCOUNT_TTL_RK = "account.ttl";
    public static final String ACCOUNT_DEAD_RK = "account.dead";
    public static final String ACCOUNT_MINUS_QUEUE = "account.minus.queue";
    public static final String ACCOUNT_UNLOCK_QUEUE = "account.unlock.queue";
    public static final String ACCOUNT_TTL_QUEUE = "account.ttl.queue";

    public static final String USER_RECORD_RK = "user.record";
    public static final String USER_RECORD_QUEUE = "user.record.queue";

    public static final String RECHARGE_PAID_RK = "recharge.paid";
    public static final String RECHARGE_PAID_QUEUE = "recharge.paid.queue";


    // 死信交换机
//    public static final String ORDER_DEAD_EXCHANGE = "order.dead.exchange";
}
